package com.mlnx.device;

import org.mybatis.spring.annotation.MapperScan;
import org.shan.spring.cache.annotation.EnableJ2Cache;
import org.shan.spring.mongodb.EnableMongodb;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by amanda.shan on 2019/10/25.
 */
@SpringBootApplication(scanBasePackages = "com.mlnx")
@EnableMongodb
@EnableJ2Cache
@MapperScan("com.mlnx.device.dao.mysql")
public class DeviceServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DeviceServiceApplication.class, args);
    }
}
